package com.pengxun.manager.model.system;

import java.util.Date;

import javax.validation.constraints.NotBlank;

public class Permission{
	private Long createBy;
	private Integer permissionType;
	@NotBlank(message="菜单编码不能为空")
	private String menuCode;
	private String remark;
	private Integer permissionId;
	private Date createDate;
	private Long updateBy;
	private String permissionCode;
//	@NotBlank(message="权限名称不能为空")
	private String permissionName;
	private Date updateDate;
	private Integer status;
	private String menuName;

	public Long getCreateBy(){
		return this.createBy;
	}
	public void setCreateBy(Long createBy){
		this.createBy=createBy;
	}
	public Integer getPermissionType(){
		return this.permissionType;
	}
	public void setPermissionType(Integer permissionType){
		this.permissionType=permissionType;
	}
	public String getMenuCode(){
		return this.menuCode;
	}
	public void setMenuCode(String menuCode){
		this.menuCode=menuCode;
	}
	public String getRemark(){
		return this.remark;
	}
	public void setRemark(String remark){
		this.remark=remark;
	}
	public Integer getPermissionId(){
		return this.permissionId;
	}
	public void setPermissionId(Integer permissionId){
		this.permissionId=permissionId;
	}
	public Date getCreateDate(){
		return this.createDate;
	}
	public void setCreateDate(Date createDate){
		this.createDate=createDate;
	}
	public Long getUpdateBy(){
		return this.updateBy;
	}
	public void setUpdateBy(Long updateBy){
		this.updateBy=updateBy;
	}
	public String getPermissionCode(){
		return this.permissionCode;
	}
	public void setPermissionCode(String permissionCode){
		this.permissionCode=permissionCode;
	}
	public String getPermissionName(){
		return this.permissionName;
	}
	public void setPermissionName(String permissionName){
		this.permissionName=permissionName;
	}
	public Date getUpdateDate(){
		return this.updateDate;
	}
	public void setUpdateDate(Date updateDate){
		this.updateDate=updateDate;
	}
	public Integer getStatus(){
		return this.status;
	}
	public void setStatus(Integer status){
		this.status=status;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

}